package com.dykj.fireFighting.api.base.video.service;


import com.dykj.fireFighting.api.base.video.dto.VideoDto;
import com.dykj.fireFighting.api.base.video.entity.Video;
import com.dykj.fireFighting.api.base.video.vo.VideoDeviceVo;
import com.dykj.fireFighting.api.base.video.vo.VideoPlayVo;
import com.dykj.fireFighting.api.base.video.vo.VideoVo;
import com.dykj.fireFighting.common.core.service.IBaseService;
import com.dykj.fireFighting.common.core.vo.LoginUserVo;
import com.dykj.fireFighting.common.core.vo.PageVo;
import com.dykj.fireFighting.common.core.vo.TreeVo;

import java.util.List;

/**
 * 监控设备管理
 *
 * @Author hxb
 * @Date 2021-06-25 08:42:12
 */
public interface IVideoService extends IBaseService<Video> {


    /**
     * 根据条件查询video
     *
     * @param videoDto
     * @return
     */
    PageVo<VideoVo> queryVideoList(VideoDto videoDto, LoginUserVo loginUserVo);


    List<VideoVo> queryVideoPositionList(String unitId);

    /**
     * 视频播放
     *
     * @param id
     * @return
     */
    VideoPlayVo videoPlay(String id);

    /**
     * 保存数据
     * @param videoDeviceVo
     * @return
     */
    Boolean insertVideo(VideoDeviceVo videoDeviceVo);

    Boolean updateVideo(VideoDeviceVo videoDeviceVo);
    TreeVo getVideoTree(String unitId);
}

